package com.ants.boot.system.dto.operatelog;

import com.ants.boot.system.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/21 16:35
 */
@ApiModel(value = "日志搜索查询对象")
public class QueryOperateLogDto extends PageDto {

    @ApiModelProperty(value = "模块",required = true)
    @NotNull(message = "模块名称不能为空！")
    private String module;

    @ApiModelProperty(value = "操作人",required = true)
    @NotNull(message = "操作人不能为空！")
    private String operatePerson;

    @ApiModelProperty(value = "开始时间",required = true)
    @NotNull(message = "开始时间不能为空！")
    private String startTime;

    @ApiModelProperty(value = "结束时间",required = true)
    @NotNull(message = "结束时间不能为空！")
    private String endTime;

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getOperatePerson() {
        return operatePerson;
    }

    public void setOperatePerson(String operatePerson) {
        this.operatePerson = operatePerson;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
